import { Group } from '@/components/pro-panel/index.typing';

const group: Group = {
  title: '贝塞尔曲线属性',
  key: 'bezier',
  collapsed: false,
  columns: [
    {
      label: '颜色',
      prop: 'color',
      type: 'color-picker',
    },
    {
      label: '宽度',
      prop: 'width',
      type: 'input-number',
      formProps: { controls: false, precision: 2, min: 0 },
    },
    {
      label: '流速',
      prop: 'speed',
      type: 'input-number',
      formProps: { controls: false, precision: 2, min: 0 },
    },
    {
      label: '样式',
      prop: 'imageUrl',
      type: 'image-selector',
      formProps: { isShowButton: false, disabled: true },
    },
  ],
};

export default group;
